home *** CD-ROM | disk | FTP | other *** search
- Path: sn.no!not-for-mail
- From: christon@sn.no (Christopher Naas)
- Newsgroups: comp.sys.amiga.applications
- Subject: WordWorth5 ARexx
- Date: 22 Feb 1996 17:41:19 +0100
- Organization: SN Internett
- Message-ID: <1598.6626T963T1270@sn.no>
- NNTP-Posting-Host: sinsen.sn.no
- X-Newsreader: THOR 2.21 (Amiga;SOUP)
-
- Anyone know a better way of obtaining a list of installed fonts for
- WordWorth5?
-
- All_Fonts.rexx
-
- ---------------------------------- Bobbit ------------------------------------
- /* Make list of all fonts in WordWorth 5 */
- /* 22.02.96 by Christopher Naas */
- /* */
- /* Do with it as you please, just don't claim credit or */
- /* make any money from it :) */
-
-
- OPTIONS RESULTS
-
-
- New
- Address Value Result
-
- address command 'list WWFonts/UFST/#?.font quick nohead >T:WWFontList'
- address command 'sort T:WWFontList to T:WWFontList'
-
-
- /* Get a font and save it and it's size */
- /*Font*/
- GetFont
- OldFont = Result
- GetFontSize
- OldFontSize = Result
-
- if open(file,"T:WWFontList",R) then do
-
- mynewfont = readln(file)
-
- DO WHILE mynewfont ~= ''
- offset = lastpos("." ,mynewfont)
- postlen = length(mynewfont) - offset
- len = length(mynewfont) - postlen
- mynewfont = left(mynewfont, len-1)
-
- Font NAME OldFont SIZE OldFontSize BOLD UNDERLINE
- Text mynewfont
- Text ' 12'
-
- NewParagraph
-
- Font NAME mynewfont SIZE 12
- Text 'ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789'
-
- NewParagraph
- NewParagraph
-
- mynewfont = readln(file)
- END
-
- close(file)
- END
- ---------------------------------- Bobbit ------------------------------------
-
- --
- Christopher Landmark Naas o EMail: christon@sn.no
- LoungeBar Development o WWW: http://www.sn.no/~christon/
- Former Reg. Amiga Developer o IRC: KarmaComa
-